<md-content layout="row" layout-fill style="overflow-y: hidden !important">
    <md-sidenav
            class="md-sidenav-left"
            md-component-id="left"
            md-is-locked-open="$mdMedia('gt-md')"
            md-whiteframe="4">
        <div>
            <md-toolbar class="md-primaty">
                <h1 class="md-toolbar-tools">导航</h1>
            </md-toolbar>
        </div>
        <md-content layout-padding >
            <md-list>
                <md-list-item ng-click="orderProcessing()" >
                    <img src="../../src/images/order.png">&nbsp;&nbsp;订单处理
                </md-list-item>
                <md-list-item ng-click="stockManage()" >
                    <img src="../../src/images/kc.png">&nbsp;&nbsp;库存管理
                </md-list-item>
                <md-list-item ng-click="pharmacyInfo()" >
                    <img src="../../src/images/xxgx.png">&nbsp;&nbsp;信息更新
                </md-list-item>
                <md-list-item ng-click="shoppingCart()" >
                    <img src="../../src/images/log.png">&nbsp;&nbsp;&nbsp;查看日志
                </md-list-item>
                <!--
                <md-list-item ng-click="personInfo()">
                    <img src="../../src/images/person.png">&nbsp;&nbsp;个人信息
                </md-list-item>
                -->
                <md-list-item ng-click="login()" ng-if="!username">
                    <img src="../../src/images/logout.png">&nbsp;&nbsp;登录/注册
                </md-list-item>
                <md-list-item ng-click="logout()" ng-if="username">
                    <img src="../../src/images/logout.png">&nbsp;&nbsp;退出登录
                </md-list-item>
            </md-list>
        </md-content>
    </md-sidenav>

    <md-content layout-fill layout="column" >
        <xx-toolbar></xx-toolbar>
        <ui-view style="padding-left: 3%;padding-right: 3%"></ui-view>
    </md-content>

</md-content>

